<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            background-color: yellow;
            width: 200px;
            height: 200px;
            white-space:nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            /* ellipsis 省略*/
        }
    </style>
</head>

<body>
    <div>Lorem ipsum dolor sit amet consectetur adipisicing elit. Incidunt fuga voluptas maxime soluta maiores suscipit?
        Eius quasi dolor quibusdam sequi sed earum est, totam culpa alias soluta aut esse facilis.</div>
</body>

</html>